package com.fzq.userserver.userserver.respository;

import com.fzq.userserver.userserver.dataobject.UserInfo;
import org.springframework.data.jpa.repository.JpaRepository;

public interface UserInfoRepository extends JpaRepository<UserInfo, String> {
    UserInfo findByOpenid(String openid);

    UserInfo findByUsername(String userName);
}
